package com.tanhua.manager.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tanhua.pojo.Option;

import java.util.List;

public interface OptionService  extends IService<Option> {
    public Boolean insertOne(Option option);
    
    public IPage<Option> findByPage(Integer pageNum, Integer pageSize);


    public boolean deleteById(Integer id);

    List<Option> findByQuestionId(Integer questionId);
}
